package metier;

import java.util.Date;
import java.util.HashMap;


public class Spectacle
{
	private int numSpect;
	private String nomSpect;
	private String date;
	private double tarif;
	private HashMap<Numero, Integer> lesNumerosOrdonnes;
	
	public Spectacle(int numSpect, String nomSpect, String date, double tarif)
	{
		this.numSpect = numSpect;
		this.nomSpect = nomSpect;
		this.date = date;
		this.tarif = tarif;
		this.lesNumerosOrdonnes = new HashMap<Numero, Integer>();
	}
	public int getNumSpect()
	{
		return numSpect;
	}

	public String getNomSpect()
	{
		return nomSpect;
	}

	public String getDate()
	{
		return date;
	}

	public double getTarif()
	{
		return tarif;
	}
	
	public HashMap<Numero, Integer> getLesNumerosOrdonnes() 
	{
		return lesNumerosOrdonnes;
	}
	
	public String toString()
	{
		return "Spectacle [numSpect=" + numSpect + ", nomSpect=" + nomSpect
				+ ", date=" + date + ", tarif=" + tarif
				+ ", lesNumerosOrdonnes=" + lesNumerosOrdonnes + "]";
	}
	
	
	
	
	
}
